package com.example.petplatform.dao;

import com.example.petplatform.entity.AdoptionApplication;
import com.example.petplatform.entity.Param.Params;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface AdoptionApplicationDao extends Mapper<AdoptionApplication> {
    List<AdoptionApplication> getAllApplications();
    
    List<AdoptionApplication> applicationSearch(@Param("params") Params params);
}
